<layout name='PublishedRecipe' />
<div class="center">
    	<div class="dq_weizhi">Current position: Home >> recipes >> dish</div>
    	<div class="left">
        	<div class="all_rep">
            	<div class="TabTitle">
                    <ul id="myTab1">
                        <li class="active"><a href="javascript:;">Tips & Garnishment</a></li>
                        <li class="normal"><a href="__APP__/Recipe/add/type/4">post your tips or garnishment</a></li>
                    </ul>
                </div>
                <div class="chufang">
                	<p class="categ">Tips</p>
                    <ul>
                        <volist name="kitchenarticleinfo" id="vo">
                            <li><h4><a href="__APP__/Kitchen/content/cid/<{$vo.recipecategoryid}>/id/<{$vo.id}>"><{$vo.name}></a></h4>
                                <p style="white-space:normal; display:block;word-break:break-all;">
                                    <gt name="vo.details|mb_strlen='utf-8'" value="200">
                                        <{$vo.details|strip_tags|mb_substr=0,200,"utf-8"}>...
                                        <else/>
                                        <{$vo.details|strip_tags}>
                                    </gt>
                                </p>
                                <span class="geng"><a href="__APP__/Kitchen/content/cid/<{$vo.recipecategoryid}>/id/<{$vo.id}>">>>View more</a></span>
                                <span></span> <div style="clear:both;"></div>
                            </li>
                        </volist>

                    </ul>

                </div>
                <notempty name="kitchenarticleinfo">
                    <div class="fanye_box">
                        <div class="fanye_text">
                            <{$fpage}>
                        </div>
                        <div></div>
                    </div>
                </notempty>

            </div>

            <div style="clear:both;"></div>
            <div class="what_week">
           		<h2>Garnishment</h2>
                <ul>
                    <volist name="gkitchenarticleinfo" id="vos">
                        <li>
                            <a href="__APP__/Kitchen/content/cid/<{$vos.recipecategoryid}>/id/<{$vos.id}>"><img src="__PUBLIC__/Content/KitchenArticle/Big_<{$vos.image}>" /></a>
                            <p><span class="lv_tit">
                                <a title="<{$vos.name}>" href="__APP__/Kitchen/content/cid/<{$vos.recipecategoryid}>/id/<{$vos.id}>">
                                <gt name="vos.name|mb_strlen='utf-8'" value="7">
                                    <{$vos.name|mb_substr=0,7,"utf-8"}>...
                                    <else/>
                                    <{$vos.name}>
                                </gt>
                            </a></span> <br />
                                <span class="author">Author: <{$vos.userinfo.username}></span><br />
                                <span class="num"><{$vos.downloads}></span>
                            </p>
                        </li>
                    </volist>

                    <div style="clear:both;"></div>
                </ul>
            </div>

            <div style="clear:both;"></div>
            <notempty name="gkitchenarticleinfo">
                <div class="fanye_box">
                    <div class="fanye_text">
                        <{$gfpage}>
                    </div>
                    <div></div>
                </div>
            </notempty>

        </div>
        
        <div class="right">
        	<div class="right_what">
            	<h2>What’s new</h2>
                    <ul>
                        <volist name="newkitchen" id="vo">
                            <li>
                                <img src="__PUBLIC__/Content/User/<{$vo.userinfo.gravatar}>" />
                                <span class="rai"><{$vo.userinfo.username}></span>
                                <span class="add">add a recipe</span>
                            <span class="garlic"><a title="<{$vo.name}>" href="__APP__/Kitchen/content/cid/<{$vo.recipecategoryid}>/id/<{$vo.id}>">
                                <gt name="vo.name|mb_strlen='utf-8'" value="8">
                                    <{$vo.name|mb_substr=0,8,"utf-8"}>...
                                    <else/>
                                    <{$vo.name}>
                                </gt>
                            </a></span>
                                <p class="time" style="margin-bottom: 5px;"><{$vo.created|date="m-d-Y",###}></p>
                            </li>
                        </volist>
                    </ul>
            </div>
        </div>
    </div>
